package com.gofruit.bean;

/**
 * 
 * @author 陈瑶
 * @see 收藏实体，只有登录了的用户才有收藏功能
 */
public class Collect {
	
	private int collectId;//收藏编号，无意义
	private int userId;//用户编号，主要注册的用户才用
	private int productId;//产品编号
	private String productName;//产品名
	private int shopId;//店铺编号
	private String shopName;//店铺名
	private String collectName;//收藏名
	private String collectDetail;//收藏描述
	private int collectType;//0店铺类1产品类
	public int getCollectId() {
		return collectId;
	}
	public void setCollectId(int collectId) {
		this.collectId = collectId;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public int getShopId() {
		return shopId;
	}
	public void setShopId(int shopId) {
		this.shopId = shopId;
	}
	public String getShopName() {
		return shopName;
	}
	public void setShopName(String shopName) {
		this.shopName = shopName;
	}
	public String getCollectName() {
		return collectName;
	}
	public void setCollectName(String collectName) {
		this.collectName = collectName;
	}
	public String getCollectDetail() {
		return collectDetail;
	}
	public void setCollectDetail(String collectDetail) {
		this.collectDetail = collectDetail;
	}
	public int getCollectType() {
		return collectType;
	}
	public void setCollectType(int collectType) {
		this.collectType = collectType;
	}
	public Collect(int collectId, int userId, int productId,
			String productName, int shopId, String shopName,
			String collectName, String collectDetail, int collectType) {
		super();
		this.collectId = collectId;
		this.userId = userId;
		this.productId = productId;
		this.productName = productName;
		this.shopId = shopId;
		this.shopName = shopName;
		this.collectName = collectName;
		this.collectDetail = collectDetail;
		this.collectType = collectType;
	}
	public Collect() {
		super();
		// TODO Auto-generated constructor stub
	}
	
	
}
